<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		 <p></p>
		<script type="text/javascript">
			// 从localStorage存储的信息显示在P标签
			let user = localStorage.getItem('username');
			
			let p = document.querySelector('p');
			p.innerHTML = `欢迎${user}，${user}为前一个页面带过来的用户名`;
		</script>
	</body>
</html>
